.Filter {
    padding-left: 8px;
    position: relative;
    display: inline-block;

    .Filter_button {
        width: auto;
        height: 32px;

        background: var(--sys-center-channel-bg);
        border-radius: 4px;
        border: 0px;
        color: var(--sys-button-bg);
        font-size: 12px;
        padding: 0 10px;

        &.Filter__active, &:focus {
            background: rgba(var(--sys-button-bg-rgb), 0.12);
        }

        &:hover {
            background: rgba(var(--sys-button-bg-rgb), .06);
        }
    }

    .Icon {
        margin-right: 2px;
        font-size: 14px;
    }

    .Filter_content {
        display: none;
        position: absolute;
        padding: 16px;
        min-width: 256px;
        margin-top: 4px;
        margin-bottom: 24px;

        background: var(--sys-center-channel-bg);
        border: 1px solid rgba(var(--sys-center-channel-color-rgb), 0.08);
        box-sizing: border-box;
        box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
        border-radius: 4px;
        z-index: 1;

        &.Filter__show {
            display: block;
        }

        hr {
            color: rgba(var(--sys-center-channel-color-rgb), 0.08);
            margin: 8px -16px 8px -16px;
            padding: 0;
        }
    }

    .Filter_header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        .Filter_title {
            font-weight: bold;
            font-size: 14px;
            line-height: 14px;
            padding: 8px;
            color: var(--sys-center-channel-color);
        }

        .Filter_reset {
            font-size: 12px;
            line-height: 16px;
            padding: 8px
        }
    }

    .Filter_lists {
        white-space: nowrap;
    }

    .Filter_apply {
        float: right;
        margin: 8px 8px 8px 0px;
        border-radius: 4px;
        font-size: 12px;

        &:disabled {
            background: rgba(var(--sys-center-channel-color-rgb), 0.1);
            color: var(--sys-center-channel-color);
        }
    }

    .FilterList {
        display: inline-block;
        vertical-align: top;
        width: 160px;
        padding: 8px;
        font-size: 14px;

        &.FilterList__full {
            width: 320px;
            display: block;
        }

        .FilterList_name {
            font-size: 12px;
            font-weight: 600;
            padding-bottom: 12px;
            color: rgba(var(--sys-center-channel-color-rgb), 0.5);
        }

        .FilterList_checkbox {
            color: rgba(var(--sys-center-channel-color-rgb), .8);
            input {
                vertical-align: bottom;
                position: relative;
                top: -4px;
                margin: 0 8px 0 2px;
                opacity: 0.64;

                &:checked {
                    opacity: 1;
                }
            }

            label {
                font-weight: normal;
            }
        }
    }
}
